<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./assets/lib/bootstrap/bootstrap.min.css">
  <link rel="stylesheet" href="./assets/lib/toastr/toastr.min.css">
  <link rel="stylesheet" href="./assets/lib/validator/bootstrapValidator.min.css">
  <link rel="stylesheet" href="./assets/iconfont/iconfont.css">
  <link rel="stylesheet" href="./assets/css/login.css">
  <!-- 修改样式控制切换 -->
  <style>
    .box {
      display: none;
    }

    .show {
      display: block;
    }
  </style>
</head>

<body>

  <div class="area">
    <div class="top">
      <img src="./assets/images/logo2.png" class="col-6" alt="">
      <h1>学员管理系统</h1>
    </div>
    <div class="row">
      <div class="left">
        <img src="./assets/images/slogan.png" alt="">
      </div>

      <!--  表单域  -->
      <div class="form-box">
        <!--  注册  -->
        <div class="register box">
          <div class="container row header mb-4">
            <h2>欢迎注册</h2>
          </div>
          <form action="" class="container">
            <!-- 账号 -->
            <div class="row mb-4 form-group">
              <span class="iconfont icon-yonghu"></span>
              <input type="text" class="form-control" name="username" />
            </div>
            <!-- 密码 -->
            <div class="row mb-4 form-group">
              <span class="iconfont icon-mima"></span>
              <input type="password" class="form-control" name="password" />
            </div>
            <!-- 按钮 -->
            <div class="row mb-4">
              <button type="submit" class="btn btn-primary">注册</button>
            </div>
            <!-- 链接 -->
            <div class="row mb-3">
              <a class="go-login" href="javascript:;">已有账号，去登录</a>
            </div>
          </form>
        </div>

        <!--  登陆  -->
        <!-- show控制登陆页面和注册页面的切换 -->
        <div class="login box show">
          <div class="container row header mb-4">
            <h2>欢迎登录</h2>
          </div>

          <form action="" class="container">
            <!-- 账号 -->
            <div class="row mb-4 form-group">
              <span class="iconfont icon-yonghu"></span>
              <input type="text" class="form-control" name="username" />
            </div>
            <!-- 密码 -->
            <div class="row mb-4 form-group">
              <span class="iconfont icon-mima"></span>
              <input type="password" class="form-control" name="password" />
            </div>
            <!-- 按钮 -->
            <div class="row mb-4">
              <button type="submit" class="btn btn-primary">登录</button>
            </div>
            <!-- 链接 -->
            <div class="row mb-3">
              <a class="changebutton" href="javascript:;">还没有账号，去注册</a>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>


  <script src="./assets/lib/jquery-3.6.0.min.js"></script>
  <script src="./assets/lib/bootstrap/bootstrap.min.js"></script>
  <script src="./assets/lib/toastr/toastr.min.js"></script>
  <script src="./assets/lib/validator/bootstrapValidator.min.js"></script>
  <script src="./assets/lib/axios.js"></script>
  <script src="./assets/utils/toastr.js"></script>
  <script src="./assets/js/baseUrl.js"></script>
  <script src="./assets/js/login.js"></script>

</body>

</html>